[#include "/WEB-INF/pages/common/taglibs.ftl"]

	<div class="tableoptions">
		<form action="[@c.url value='/manage/Article_list.action'][/@c.url]" name="channelForm" method="get" class="">
			<a class="ajax radius3" href="[@c.url value='/manage/Article_chose.action?channelId=${channelId}&pid=${categoryId}&ajax=true'/]" class="radius3"><span>新&nbsp;&nbsp;&nbsp;&nbsp;建</span></a>
			<a href="javascript:void(0);" class="radius3 deletebutton" tableid='articleListTable'><span>删除所选</span></a>
			<select name="channelId" id="channelSelect" class="radius3">
				[#list channelList as c]
					<option value="${c.id}" [#if channelId == c.id]selected='selected'[/#if]>${c.title}</option>
				[/#list]
			</select>
		</form>
	</div>
	<div>
	    [@demo.tableDisplayer id="articleListTable" ajaxPage="true" renderTo="${renderTo}" property="articleList" pagesize=4 sort="true" page="/manage/Article_list.action?channelId=${channelId}&categoryId=${categoryId}" name="FreemarkerTable" config="/WEB-INF/component/table/template-stdtable-sort.ftl" bundle="messageSource" onLoad="base.init();"]
	    	[@demo.column name="batch" title="批量" innerHtml="\lspan class='checkbox'\g\linput type='checkbox'/\g\l/span\g" headHtml="\lspan class='checkbox'\g\linput type='checkbox' class='checkall' /\g\l/span\g" footHtml="&nbsp;" title="ID" columnClass="center span-atom"/]
	    	[@demo.column name="id" property="id" title="ID" headerClass="center span-atom" columnClass="center span-atom" sortable="true"/]
	    	[#--[@demo.column name="categoryId" property="categoryId" title="栏目" columnClass="span1" sortable="true"/]--]
	    	[@demo.column name="title" property="title" title="标题" columnClass="" sortable="true"/]
	    	[#--[@demo.column name="checkLevel" property="checkLevel" title="审核级别" columnClass="span2"/]--]
	    	[#--[@demo.column name="publishDate" property="publishDate" format="yyyy-MM-dd" title="发布时间" columnClass="span1-1" sortable="true"/]--]
	    	[@demo.column name="pageCount" property="pageCount" format="#" title="页数" columnClass="center span-tiny" sortable="true"/]
	    	[@demo.column name="isComment" property="comment" format="是:否" title="评论" columnClass="center span-tiny"/]
	    	[@demo.column name="isRecommend" property="recommend" format="是:否" title="推荐" columnClass="center span-tiny"/]
	    	[@demo.column name="isPermission" property="permission" format="开放:授权" title="许可" columnClass="center span-tiny"/]
	    	[#--[@demo.column name="type" property="type" title="类型" columnClass="span1"/]--]
	    	[@demo.column name="operate" property="id" title="操作" columnClass="span1" innerHtml="\la href='javascript:void(0);' act='edit' \g编辑\l/a\g&nbsp;|&nbsp;\la href='javascript:void(0);' act='delete' \g删除\l/a\g" headerClass="batch"/]
	    [/@demo.tableDisplayer]
	</div>
    <div id="delete-confirm" style="display:none" title="文章删除">
		<p>文章删除后将无法恢复.您确认删除吗？</p>
	</div>

